<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@taglib
	uri="http://java.sun.com/jsf/core" prefix="f"%>
	<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %> 
	<%@taglib
	uri="https://ajax4jsf.dev.java.net/ajax" prefix="ajax"%><%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<div class="mainBackground">
	<div class="innerBackground">
<f:view locale="#{visitInfo.currentUser.locale}">
	<f:loadBundle basename="resources.VisionClickResources" var="msg"/>
	<jsp:include page="nav.jsp"></jsp:include>
		<div class="table" style="width:960px;">
			<div class="tableHead" style="width:960px;">
				<h:panelGrid columns="3" width="960">
					<h:panelGroup>
						<h:outputText value="#{msg.SprintName}"/><h:outputText value="#{sprintBean.sprint.sprintName}"></h:outputText>
					</h:panelGroup>
					<h:panelGroup>
						<h:form rendered="#{visitInfo.currentUser.canCreateTask}">
						<h:commandLink value="#{msg.CreateTask}" action="create_task" style="float:right;color:white"></h:commandLink>
						</h:form>
					</h:panelGroup>
				</h:panelGrid>
				
			</div>
		<h:panelGrid border="0" columns="2" width="960">
			<h:outputText value="#{msg.Creator}"></h:outputText>
			<h:outputText value="#{sprintBean.sprint.creator}">
				<f:converter converterId="userConverter"/>
			</h:outputText>
			<h:outputText value="#{msg.SprintStartDate}"></h:outputText>
			<h:outputText value="#{sprintBean.sprint.startDate}">
				<f:convertDateTime></f:convertDateTime>
			</h:outputText>
			<h:outputText value="#{msg.SprintEndDate}"></h:outputText>
			<h:outputText value="#{sprintBean.sprint.endDate}">
				<f:convertDateTime></f:convertDateTime>
			</h:outputText>
			<h:outputText value="#{msg.SprintDesc}"></h:outputText>
			<h:outputText value="#{sprintBean.sprint.sprintDesc}"></h:outputText>
		</h:panelGrid>
		</div>
		<h:graphicImage url="#{chartBean.fileName}"></h:graphicImage>
</f:view>
</div>
</div>	
</body>
</html>